import os
from django.apps import AppConfig

default_app_config = "bcm_auth.BcmAuthConfig"
VERBOSE_APP_NAME = u"用户管理"


def get_current_app_name(file):
    return os.path.split(os.path.dirname(file))[-1]


class BcmAuthConfig(AppConfig):
    name = get_current_app_name(__file__)
    verbose_name = VERBOSE_APP_NAME